﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace WebAPI.Models
{
    /// <summary>
    /// 收货人地址
    /// </summary>
    public class ConsigneeAddress
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 是否是默认地址（是默认地址，值为1，否则为0）
        /// </summary>
        public int IsDefault { get; set; }
        /// <summary>
        /// 是否已删除（已删除，值为1，否则为0）
        /// </summary>
        public int IsDelete { get; set; }
        /// <summary>
        /// 收货人姓名
        /// </summary>
        public string ConsigneeName { get; set; }
        /// <summary>
        /// 收货人电话
        /// </summary>
        public string ConsigneeTel { get; set; }
        /// <summary>
        /// 收货人所在地区
        /// </summary>
        public string ConsigneeArea { get; set; }
        /// <summary>
        /// 收货人详细地址
        /// </summary>
        public string AddressDetail { get; set; }

    }
}